class Person {
}

interface InterfacePerson {
    new(): Person
}

function fun(callback: InterfacePerson) {
    const f = new callback()
    return f
}

fun(Person)
